package com.csu.tour.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.time.LocalDateTime;

@EntityScan
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Complaint {
    public enum ComplaintStatus {processing, resolved}//投诉处理
    public enum ComplaintStatusApprove {pending,processing, resolved}//管理员审批

    private int complaintId;
    private int handlingId;
    private String text;
    private ComplaintStatus status;
    private ComplaintStatusApprove statusApprove;
    private String handlingContent;
    private String evaluation;
    private String mediaUrl;
    private int userId;
    private LocalDateTime date;
}
